#! /bin/bash
gnuplot << EOF
set ylabel "Error Rate(%)"
set style data histograms
set style histogram cluster gap 1
set boxwidth 0.75
set mxtics 2
set yrange [-20:20] 
set terminal postscript enhanced 25
set output "$1.ps"
plot "$1" using (\$2*100):xtic(1) title col lc rgb "blue" fill solid,\
	"$1" using (\$3*100):xtic(1) title col  lc rgb "brown" fill solid
EOF
